package com.cskaoyan.util;

import com.cskaoyan.bean.param.FileParam;
import org.apache.shiro.crypto.hash.SimpleHash;

public class EncryptUtils {
    public static String encrypt(String password){
        SimpleHash simpleHash = new SimpleHash("MD5", password, FileParam.SALT, 1);
        return simpleHash.toString();
    }
}
